// WinFormOptions.cpp : implementation of the CApplication class
//
#include "stdafx.h"
#include "WinFormOptions.h"

CWinFormOptions::CWinFormOptions()
{
	// TODO: add member initialization code here
	
}
CWinFormOptions::~CWinFormOptions()
{

}

const CControlHandle &CWinFormOptions::GetControlHandle() const
{
	return m_controlHandle;
}
void CWinFormOptions::SetControlHandle(const CControlHandle &nControlHandle)
{
	this->m_controlHandle=nControlHandle;
}

const CControlClass &CWinFormOptions::GetControlClass() const
{
	return m_controlClass;
}
void CWinFormOptions::SetControlClass(const CControlClass &nControlClass)
{
	this->m_controlClass=nControlClass;
}

const CParentWindowTitle &CWinFormOptions::GetParentWindowTitle() const
{
	return m_parentWindowTitle;
}
void CWinFormOptions::SetParentWindowTitle(const CParentWindowTitle &nParentWindowTitle)
{
	this->m_parentWindowTitle=nParentWindowTitle;
}

const CParentWindowClass &CWinFormOptions::GetParentWindowClass() const
{
	return m_parentWindowClass;
}
void CWinFormOptions::SetParentWindowClass(const CParentWindowClass &nParentWindowClass)
{
	this->m_parentWindowClass=nParentWindowClass;
}

const CApplicationPath &CWinFormOptions::GetApplicationPath() const
{
	return m_applicationPath;
}
void CWinFormOptions::SetApplicationPath(const CApplicationPath &nApplicationPath)
{
	this->m_applicationPath=nApplicationPath;
}
void CWinFormOptions::MapXMLTagsToMembers()
{
	MapMember(&m_controlHandle);
	MapMember(&m_controlClass);
	MapMember(&m_parentWindowTitle);
	MapMember(&m_parentWindowClass);
	MapMember(&m_applicationPath);
}
IMPLEMENT_FACTORY(CWinFormOptions, WinFormOptions);